Automatic Human-Like Detection of Code Smells

نویسندگان

چکیده

Many code smell detection techniques and tools have been proposed, mainly aiming to eliminate design flaws improve software quality. Most of them are based on heuristics which rely a set metrics corresponding threshold values. Those suffer from subjectivity issues, discordant results among the tools, reliability thresholds. To mitigate these problems, we used machine learning automate developers’ perception in smells detection. Different other existing trained our models with an extensive dataset more than 3000 professional reviews 518 open source projects. We conclude by empirical evaluation performance approach against PMD, widely metric-based tool for Java. The experimental show that outperforms PMD classifier all evaluations.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Code smells

s, titles and keywords were analysed by VOSviewer using default parameters. All common terms like study, baseline, control group, trend, method were excluded from the analysis. Three maps were induced (1) clustered landscapes presenting popularity of terms (more popular terms are presented in larger squares), associations between terms (terms locted near each other are stongly associated) and r...

متن کامل

How Do Community Smells Influence Code Smells?

Code smells reflect sub-optimal patterns of code that often lead to critical software flaws or failure. In the sameway, community smells reflect sub-optimal organisational and socio-technical patterns in the organisational structure of the software community. To understand the relation between the community smells and code smells we start by surveying 162 developers of nine opensource systems. ...

متن کامل

Usage of Optimal Restructuring Plan in Detection of Code Smells

To remain useful for their users, software systems need to continuously enhance and extend their functionality. Nevertheless, in many object-oriented applications, features are not represented explicitly. The lack of modularization is known to make application features difficult to locate, to comprehend and to modify in isolation from one another. In our work, we implement restructuring using F...

متن کامل

An Eclipse Plugin to Support Code Smells Detection

Eradication of code smells is often pointed out as a way to improve readability, extensibility and design in existing software. However, code smell detection in large systems remains time consuming and error-prone, partly due to the inherent subjectivity of the detection processes presently available. In view of mitigating the subjectivity problem, this paper presents a tool that automates a te...

متن کامل

Code-Smells Detection as a Bi-Level Problem

Code-Smells represent design situations that can affect the maintenance and evolution of software. They make a system difficult to evolve. Code-smells are detected, in general, using quality metrics that represent some symptoms. However, the selection of suitable quality metrics is challenging due to the absence of consensus to identify some code-smells based on a set of symptoms and also the h...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Lecture Notes in Computer Science

سال: 2021

ISSN: ['1611-3349', '0302-9743']

DOI: https://doi.org/10.1007/978-3-030-88942-5_2